<?php
require_once "core-application/class.index.php";
require_once "core-application/core/class.tamplate.php";

if ( ! empty($_SESSION['aid']))
{
	$Index = new index;
		$response = $Index -> createCharacter();
		
	echo json_encode($response);
} else {
	echo "Sessione Scadura, tornare alla login.";
}
?>